<script type=text/javascript src="/static/jQuery/jquery-1.4.4.min.js"></script>  
<script type=text/javascript src="/static/raphael/raphael-min.js"></script>  
<script type=text/javascript src="/static/js/cell_complex.js"></script>  
<script type=text/javascript >
	$(document).ready(function() {
		// Raw data from the backend
		var rawJSON = "{{ data }}";
		var cell_complex = jQuery.parseJSON(rawJSON);
		
		// Draw the cell complex
		var paper = Raphael("cell_complex", 320, 240);
		drawCellComplex(cell_complex, paper);

	});
</script>

<div id="cell_complex" />
